#-*- coding:utf-8 -*-
# 倒包
from util import Apputil

class WelcomControl(object):


    # 实例化对象
    def __init__(self):

        self.app = Apputil.AppUtil()

        pass


    # 正常滑动
    def welcome_scroll(self):

        self.app.Scrool()

        pass

    # 点击跳转
    def welcome_clike(self):

        # 点击跳转
        self.app.ClidkID("com.qiezzi.eggplant:id/btn_firstinstall_intent")

        pass

    # 打开关闭
    def welcome_start(self):

        self.app.AppStart()

        pass

    # 关闭
    def welcome_close(self):

        self.app.App_Close()

        pass

    # 获取断言页面
    def welcome_assert(self):

        return self.app.getCurrent()